<?php

/**
 * 这个文件是 WebControl 控件 Control_Footer 的视图。
 */

?>
<!-- footer -->
<div id="footer">

  <div id="breadcrumbs">
    <p>
      <a href="<?php echo h(url('default/index')); ?>">返回首页</a>
      &nbsp;&nbsp;
      <a href="<?php echo h(url('projects/index')); ?>">开源项目与插件</a>
      &nbsp;&nbsp;
      <a href="<?php echo h(url('cases/index')); ?>">应用展示</a>
      &nbsp;&nbsp;
      <a href="<?php echo h(url('framework/index')); ?>">框架</a>
      &nbsp;&nbsp;
      <a href="<?php echo h(url('docs/index')); ?>">文档</a>
      &nbsp;&nbsp;
      <a href="/bbs/">论坛</a>
    </p>
  </div>

  <hr />

  <div id="footer_contents" class="clearfix">

    <div class="col">
      <h4>起源科技精选项目</h4>

      <ul>

<?php foreach ($os_projects as $project): ?>

        <li>
          <a title="<?php echo h($project->title); ?>" href="<?php echo url('projects/show', array('name' => $project->name)); ?>"><?php echo h($project->title); ?></a>
        </li>

<?php endforeach; ?>

      </ul>

      <p>&nbsp;</p>
      <h4>精选开源项目</h4>

      <ul>

<?php foreach($picked_projects as $project): ?>

        <li>
          <a title="<?php echo h($project->title); ?>" href="<?php echo url('projects/show', array('name' => $project->name)); ?>"><?php echo h($project->title); ?></a>
        </li>

<?php endforeach; ?>

        <li class="empty">&nbsp;</li>

        <li class="empty">
          <a href="<?php echo h(url('projects/index')); ?>">查看所有开源项目...</a>
        </li>
      </ul>

    </div>

    <div class="col news">
      <h4>最近动向</h4>

      <ul>

<?php foreach ($recents as $topic): ?>

        <li>
          <a href="<?php echo h($topic->url); ?>"><?php echo h($topic->title); ?></a>
        </li>

<?php endforeach; ?>

      </ul>

    </div>

    <div class="col">
      <h4>关于</h4>

      <p>
        qeephp.com 是由自贡市起源科技有限公司主持并运营的开源社区。qeephp.com 提供了 QeePHP/FleaPHP 开发框架以及其他开源项目的最新信息。
      </p>

      <ul>
        <li>
          <a href="http://www.qeeyuan.com/" target="_blank">起源科技有限公司</a>
        </li>
        <li>
          <a href="<?php echo h(url('about/contacts')); ?>">联系我们</a>
        </li>
        <li>
          <a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">知识共享“署名 2.5 中国大陆”许可协议</a>
        </li>
      </ul>

    </div>

    <div class="col">
      <h4>合作伙伴</h4>

      <ul>

<?php foreach ($partner_links as $link): ?>

        <li><a title="<?php echo h($link->summary); ?>" href="<?php echo h($link->url); ?>" target="_blank"><img src="<?php echo $_BASE_DIR . $link->logo_src; ?>" /></a></li>

<?php endforeach; ?>

      </ul>

    </div>

    <div class="col">
      <h4>友情连接</h4>

      <ul>

<?php foreach ($links as $link): ?>

        <li><a title="<?php echo h($link->summary); ?>" href="<?php echo h($link->url); ?>" target="_blank"><?php echo h($link->title); ?></a></li>

<?php endforeach; ?>

      </ul>

    </div>

  </div>

  <hr />

  <div id="copyright">
    <p>
      <img src="<?php echo $_BASE_DIR; ?>qeephp/cc.jpg" align="absmiddle" />
      &nbsp;
      除非另有声明，本网站采用知识共享“<a href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank">署名 2.5 中国大陆</a>”许可协议授权。
    </p>

    <p>
      <img src="<?php echo $_BASE_DIR; ?>qeephp/qeeyuan_logo.jpg" align="absmiddle" />
      &nbsp;
	  qeephp.com 由自贡市起源科技有限公司运营维护。<a href="http://www.miibeian.gov.cn/" target="_blank">蜀ICP备06003050号</a>&nbsp;<a href="http://www.zg163.net/zg-police/" target="_blank">自公网监5103000012</a>
      &nbsp;
      MEM: <?php printf('%0.2fKB(peak), %0.2fKB', memory_get_peak_usage() / 1024, memory_get_usage() / 1024); ?>
    </p>
  </div>

  <div style="display: none;"><img src="http://stat.qeeyuan.com/img.php?id=1" border="0" /></div>

</div>
<!-- /footer -->

</div>
<!-- /page-wrapper -->

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-239159-2");
pageTracker._trackPageview();
} catch(err) {}</script>

</body>
</html>

